package com.lune.job.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.lune.job.pojo.Certificate;
import com.lune.job.pojo.ResPageBean;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author Caiyilin
 * @since 2022-03-06
 */
public interface ICertificateService extends IService<Certificate> {

    /**
     * 分页查询证书
     * @param currentPage
     * @param size
     * @param certificate
     * @return
     */
    IPage<Certificate> queryPage(Integer currentPage, Integer size, Certificate certificate);


    /**
     * 条件查询证书
     * @param certificate
     * @return
     */
    List<Certificate> queryByCon(Certificate certificate);
}
